package com.lidastudio.eurekafeign.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lidastudio.eurekafeign.service.HiService;

@RestController
public class HiController {
	@Autowired
	private HiService hiService;
	
	@GetMapping(value = "/hi")
	public String hi(String name) {
		return hiService.hi(name);
	}
}
